package com.advertise.dao;

import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;


public class GenericUtil {

	/**
	 * argument types
	 * @param class1
	 * @return
	 */
	public static Type[] getGenericClass(Class clazz){
		return ((ParameterizedType)clazz.getGenericSuperclass()).getActualTypeArguments();
	}
}
